package com.lx.patterns.decorator;

/**
 * @ClassName Garnish
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/21 21:17
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/21 21:17
 * @UpdateRemark:
 * @Version: 1.0
 */
public abstract class Garnish extends FastFood{

    private FastFood fastFood;

    public Garnish() {
    }

    public Garnish(double price, String desc, FastFood fastFood) {
        super(price, desc);
        this.fastFood = fastFood;
    }

    public FastFood getFastFood() {
        return fastFood;
    }


}
